package com.investment.advisor.repository;

import com.investment.advisor.entity.Factor;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface FactorRepository extends JpaRepository<Factor, Long> {
    List<Factor> findByCategory(String category);
    List<Factor> findByNameContaining(String keyword);
} 